package com.cn.wanxi.dao;

import com.cn.wanxi.model.UserModel;

import java.util.List;

public interface IUserDao {
    int add(UserModel userModel);

    UserModel FindByUsername(String username);

    int findByUsernameAndPassword(UserModel userModel);

    int deletebyid(int aa);

    UserModel finById(int aa);

    int update(UserModel userModel);

    List<UserModel> findAllBySon(UserModel userModel);

    int getCount(UserModel userModel);

}
